<template>
  <div>
    <div style="margin-bottom:15px;" />

    <el-button onclick="window.open('http://wxdp.jiang-tao.cn/', '_blank')" style="float: right;margin-bottom:10px"
      type="primary">
      全屏观看（点此后按F11键）
    </el-button>
    <iframe src="http://wxdp.jiang-tao.cn/" style="width: 100%;min-height: 800px" />
  </div>
</template>

<script>
export default {
  computed: {
    roles () {
      return this.$store.getters.roles
    },
    switchRoles: {
      get () {
        return this.roles[0]
      },
      set (val) {
        this.$store.dispatch('user/changeRoles', val).then(() => {
          this.$emit('change')
        })
      }
    }
  }
}
</script>
